
#include <android/api-level.h>

#define GLF_API_CONSOLE	android
#define GLF_API_TIME	android

//This ain't supported atm.
//#if __ANDROID_API__ >= 9 // SDK 2.3+
//#	define GLF_API_APP		androidnative
//#else
#	define GLF_API_APP		android
//#endif

#define GLF_API_FS		android
#define GLF_API_IO		android
#define GLF_API_INPUT	android
#define GLF_API_THREAD	android // Use thread_android_.hpp instead thread_posix_.hpp
#define GLF_API_STR		posix
#define GLF_API_MEM		posix
#define GLF_API_SOCKET	posix

#define GLF_API_CONFIG	android

//#define __PLACEMENT_NEW_INLINE 1
#define GLF_NO_NEW_DEFINE 1

// TODO: I have no idea what the cache line size is, using x86 value of 64.
#define GLF_CACHE_LINE_SIZE 64 
